About 791 letters

About 4 minutes

#HTML <col>

The <col> HTML element defines one or more columns in a column group represented by its parent <colgroup> element. The <col> element is only valid as a child of a <colgroup> element that has no span attribute defined.

#Attributes

  • span: Specifies the number of consecutive columns the <col> element spans. The value must be a positive integer greater than zero. If not present, its default value is 1.

Created in 6/9/2025

Updated in 6/9/2025